package com.zzlzd.drp.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import net.sf.json.JSON;
import net.sf.json.JSONObject;
import org.hibernate.annotations.Type;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author ceshi
 * @Title:
 * @Package
 * @Description:
 * @date 2021-3-1919:27
 */
@Data
@Entity
@Table(name = "orders")
public class OrdersDto implements Serializable {
    @Id
    @GeneratedValue(strategy= GenerationType.IDENTITY)
    private Integer id;
    private Integer userId;
    private Integer goodsId;
    private Integer state;
    private String goodsTitle;
    private Double goodsPrice;
    private String goodsImage;
    private String courierName;
    private String courierNumber;
    private String uname;
    private String uphone;
    private String uaddress;
    private Date creatTime;
    private Integer isOld;
    private String orderInfo;
    private Double freight;
}
